﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Task.aspx.cs" Inherits="Presentation.Task" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 <script type="text/javascript">
     function toggle_visibility(id) {
         var e = document.getElementById(id);
         if (e.style.display == 'block') {
             e.style.display = 'none';
         }
         else {
             e.style.display = 'block';
         }
     }
  </script>  
    <h2>
        Feladatok
    </h2>
    <p>
       <asp:Button ID="Button2" runat="server" Text="Szűrés"/>
       <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Feladat létrehozása" />
    </p>
    <div id="Description" style="display: none">  
        <asp:Panel ID="Panel1" BorderStyle="Solid" runat="server" BorderWidth="2px" BackColor="LightGoldenrodYellow">        
             &nbsp; &nbsp; &nbsp; &nbsp; Név: &nbsp;
            <asp:TextBox ID="filterNameBox" runat="server"></asp:TextBox> &nbsp;&nbsp;&nbsp;&nbsp;
            Tantárgy:  &nbsp;
            <asp:TextBox ID="filterFactBox" runat="server"></asp:TextBox> &nbsp;&nbsp;&nbsp;&nbsp;
            Típus:  &nbsp;
            <asp:TextBox ID="FilterTypeBox" runat="server"></asp:TextBox> &nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="seachButton" runat="server"  onclick="search_Click" Text="OK" Width="40px"/> &nbsp;&nbsp;
            <asp:Button ID="showAllButton" runat="server" onclick="showAll_Click"  Text="Törlés" Width="60px" />
        </asp:Panel>
    </div> 
 

    <p>
        <asp:Label ID="MessageLabel" runat="server" ForeColor="red"></asp:Label>
    </p>
    <asp:Table ID="TableTask" runat="server">
    </asp:Table>
    <br />
   
</asp:Content>
